package com.coollang.smartbra.model;

import com.coollang.smartbra.http.ResponseData;

import io.realm.RealmObject;

/**
 * @Auther: Timmy
 * @Data: 2017/7/6
 * @Fuction:
 */

public class LoginModel extends RealmObject implements ResponseData {


    /**
     * code : 200
     * message : success
     * data :
     * {"id":"3","username":"13823248541","mobile":"13823248541","register_time":"2017-07-06 01:34:05","login_time":"2017-07-06 23:29:35","reg_ip":"236216720","login_ip":"3746157861","siganature":"","updatetime":"2017-07-06 09:34:05","register_day":"2017-07-06","hr_alarm":"180","isalarm":"1","nickname":"13823248541","avatar":"","age":"100","gender":"0","height":"0","weight":"0","birth":"0000-00-00"}
     */

    private String code;
    private String message;
    private LogInDataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public LogInDataBean getData() {
        return data;
    }

    public void setData(LogInDataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "LoginModel{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }


}
